package visualisation;

class Position{
	def x;
	def y;
	
	public Position(x, y){
		this.x = x;
		this.y = y;
	}
	
	public Position copy(){
		def p = new Position(x,y);
		return p;
	}
	
	public String toString(){
		return "($x,$y)"
	}
	
	public boolean equals(Position other){
		return other.x == this.x && other.y == this.y
	}
}